<?php
/*ini_set('display_errors',1); 
 error_reporting(E_ALL);*/

include '../class/Carrega.class.php';


?>

<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="pt-br" lang="pt-br">
    <head>
        <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
        <link rel="shortcut icon" href="../imagens/faveicon.png" type="image/x-icon"/>
        <script type="text/javascript" src="../js/jquery-2.1.0.min.js"></script>
        <script type="text/javascript" src="../js/underscore.js"></script>
        
        <title>@prenda</title>
        
        <link href="../css/site.css" rel="stylesheet"/>
        
    </head>
    <body>
        <div id="main">
		<div id="header">
                    <img id="cabecalho_logo" src="../imagens/logo_final_escuro.jpg">
			<nav id="menu">
				<ul>
					<li><a href="#" style="width:77px;">Contato</a></li>
                                        <li><a href="<?php if(isset($_SESSION["usuario"]) && $admin==true){echo "admin.php";}else if(isset($_SESSION["usuario"]) && $admin==false){echo "user.php";} else {echo "cadastro.php";}?>" style="width:77px;"><?php if(isset($_SESSION["usuario"]) && $admin==true){echo "Admin";}else if(isset($_SESSION["usuario"]) && $admin==false){echo "Conta";}else{echo "Cadastro";}?></a></li>
					<li><a href="<?php if(isset($_SESSION["usuario"])){echo "logout.php";}else{echo "login.php";}?>" style="width:77px;"><?php if(isset($_SESSION["usuario"])){echo "Logout";}else{echo "Login";}?></a></li>
					
					
				</ul>
			</nav>
		
		</div>
            <div class="corpo">